package com.settlement.system.model.entity.common;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * 订单稽核类别
 *
 * @author Ximi
 * @since 2020-10-09
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9, fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblOrderAuditCategory extends BaseModel implements Serializable {


    /**
     * 订单稽核大类名称
     */
    @ExcelProperty(value = "大类名称")
    @ApiModelProperty(value = "大类名称")
    @NotNull(message = "大类名称不能为空")
    private String mainCategoryName;

    /**
     * 订单稽核大类编码
     */
    private String mainCategoryNo;

    /**
     * 订单稽核细类名称
     */
    @ExcelProperty(value = "细类名称")
    @ApiModelProperty(value = "细类名称")
    @NotNull(message = "细类名称不能为空")
    private String detailCategoryName;

    /**
     * 订单稽核细类编码
     */
    private String detailCategoryNo;

    /**
     * 是否推送
     */
    @ExcelProperty(value = "是否推送")
    @ApiModelProperty(value = "是否推送")
    private String isPush;

    /**
     * 优先级
     */
    @ExcelProperty(value = "优先级")
    @ApiModelProperty(value = "优先级")
    private Integer priority;

    /**
     * 成立条件
     */
    @ExcelProperty(value = "成立条件")
    @ApiModelProperty(value = "成立条件")
    @NotNull(message = "成立条件不能为空")
    private String determineCondition;



}
